{{ define "main" }}
<div class="blog-with-sidebar">
    <div class="row">
        <div class="col-12 col-md-7 col-lg-8 order-md-1 order-sm-1">
            <div class="row">
                <div class="type-header-title">
                    {{- $taxonomies := .Data.Plural -}}
                    <h5><span>{{ T ( printf "sidebar-%s" $taxonomies) }}</span>:{{ .Title }}({{ len .Pages }})</h5>
                </div>

                {{ $filter := .Paginate (.Pages) }}
                {{ range $filter.Pages }}
                {{- partial "post/list.html" . -}}
                {{end }}
                {{ partial "pagination.html" . }}
            </div>
        </div>
        <div class="col-12 col-md-5 col-lg-4 order-md-2 order-sm-2">
            {{ partial "sidebar/feature.html" . }}
            {{ partial "sidebar/category.html" . }}
            {{ partial "sidebar/tags.html" . }}
        </div>
    </div>
</div>
</div>
{{ end }}